package com.cityp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cityp.bean.AllUser;
import com.cityp.bean.ResultBean;
import com.cityp.bean.UserLoginParam;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;

/**
 * @ClassName: IUserService
 * @Description:
 * @author: Kowk
 * @since:1.0.0
 */
public interface IUserService extends IService<AllUser> {
    ResultBean login(String name, String password, HttpServletRequest request) throws ParseException;

    /** 
    * @Description: 根据用户名获取用户 
    * @Param:  
    * @return:  
    */ 
    AllUser getAdminByUserName(String username);

    ResultBean register (UserLoginParam user);
}
